package com.bzyd.shiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bzyd.shiro.entity.Menu;
import com.bzyd.shiro.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单表Mapper接口
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> findMenuByRoles(@Param("roles")List<Role> roles);
}
